<?php
$z[0]=Array("global","",236,264);
$z[0][4]['name']="cfg_soft_lang";
$z[1]=Array("global","",277,303);
$z[1][4]['name']="cfg_webname";
$z[2]=Array("global","",349,379);
$z[2][4]['name']="cfg_description";
$z[3]=Array("global","",416,443);
$z[3][4]['name']="cfg_keywords";
$z[4]=Array("global","",461,493);
$z[4][4]['name']="cfg_templets_skin";
$z[5]=Array("global","",577,609);
$z[5][4]['name']="cfg_templets_skin";
$z[6]=Array("global","",740,766);
$z[6][4]['name']="cfg_cmspath";
$z[7]=Array("global","",853,885);
$z[7][4]['name']="cfg_templets_skin";
$z[8]=Array("global","",973,1005);
$z[8][4]['name']="cfg_templets_skin";
$z[9]=Array("global","",3255,3280);
$z[9][4]['name']="cfg_cmsurl";
$z[10]=Array("myad","",3888,3922);
$z[10][4]['name']="index_top_word";
$z[11]=Array("myad","",4188,4218);
$z[11][4]['name']="items_logo";
$z[12]=Array("myad","",4305,4339);
$z[12][4]['name']="item_top_right";
$z[13]=Array("global","",4529,4554);
$z[13][4]['name']="cfg_cmsurl";
$z[14]=Array("channel","\r\n		     <li><a href='[field:typeurl/]' [field:rel/]><span>[field:typename/]</span></a></li>\r\n		     ",4618,4883);
$z[14][4]['type']="top";
$z[14][4]['row']="10";
$z[14][4]['currentstyle']="<li class='selected'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>";
$z[15]=Array("myad","",5106,5137);
$z[15][4]['name']="index_xfzcn";
$z[16]=Array("myad","",6672,6707);
$z[16][4]['name']="index_mid_right";
$z[17]=Array("myad","",6767,6803);
$z[17][4]['name']="index_mid_right2";
$z[18]=Array("myad","",6978,7008);
$z[18][4]['name']="index_gcxz";
$z[19]=Array("myad","",7048,7078);
$z[19][4]['name']="index_gclc";
$z[20]=Array("myad","",7122,7152);
$z[20][4]['name']="index_jgks";
$z[21]=Array("myad","",7192,7222);
$z[21][4]['name']="index_jtbz";
$z[22]=Array("myad","",7266,7296);
$z[22][4]['name']="index_gcmj";
$z[23]=Array("myad","",7336,7366);
$z[23][4]['name']="index_gcsp";
$z[24]=Array("myad","",7784,7822);
$z[24][4]['name']="index_bottom_right";
$z[25]=Array("php","\r\n												\r\n												\$mysql = \"SELECT t1.id,t1.title,t2.area,t2.shopName,t2.address FROM dede_archives t1 LEFT JOIN dede_addon4sks t2 ON t1.id = t2.aid WHERE t2.typeid='12' AND t2.sftjjxs = '是'\"; \r\n												\$query = mysql_query(\$mysql); \r\n												\$n=mysql_num_rows(\$query);\r\n												\r\n												while(\$row = mysql_fetch_array(\$query,MYSQL_ASSOC)) {\r\n													  echo '<li><a target=\"_blank\" href=\"./plus/view.php?aid='.\$row[\"id\"].'\" >'.\$row[\"shopName\"].'</a></li>';\r\n													  \r\n												}\r\n												\r\n												mysql_close(\$con);\r\n										   ",8942,9546);
$z[26]=Array("infolink","\r\n                        	<dl class=\"clearfix mb10\">\r\n                             <dt class=\"fl\">价格区间</dt>\r\n                            	<dd class=\"fr clearfix\">\r\n                                	<ul>\r\n                                    [field:s4jg/]&nbsp;\r\n                                    </ul>\r\n                                </dd>\r\n                            </dl>\r\n                        	<dl class=\"clearfix\">\r\n                                <dt class=\"fl\">购车区域</dt>\r\n                            	<dd class=\"fr clearfix\">\r\n                                 <ul>\r\n                                    	[field:area/]&nbsp;\r\n                                 </ul>\r\n                                </dd>\r\n                            </dl>\r\n							",9672,10476);
$z[27]=Array("php","\r\n                                //\$arear_arr=array(\"徐汇区\" ,\"长宁区\" ,\"闸北区\" ,\"普陀区\",\"虹口区\",\"闵行区\",\"杨浦区\",\"宝山区\",\"浦东新区\",\"松江区\",\"嘉定区\",\"青浦区\",\"奉贤区\",\"金山区\" );\r\n\r\n								   \$arear_arr = array();\r\n								   \$areaSql = \"SELECT * FROM dede_sys_enum t WHERE t.egroup='area'\";\r\n								   \$areaQuery = mysql_query(\$areaSql);\r\n								   while(\$row = mysql_fetch_array(\$areaQuery,MYSQL_ASSOC)) {\r\n										  \$arear_arr[\$row[\"ename\"]] = \$row[\"ename\"];\r\n										  \r\n									}\r\n									\$area_index = 0;\r\n									foreach (\$arear_arr as \$value ) {\r\n										\$area_index ++;\r\n										// 输出行政区划 \r\n										echo '<li id=\"area_li_'.\$area_index.'\" onmouseout=\"hiddenData(this)\" onmouseover=\"showData(\\''.\$area_index.'\\',this)\" >\r\n												<a href=\"#\"  id=\"area_li_'.\$area_index.'_href\"><span >'.\$value.'</span></a>\r\n											  </li>';\r\n									}	\r\n								",10793,11754);
$z[28]=Array("channelartlist","\r\n	            	<div class=\"clearfix\">\r\n	            		<h1 class=\"fl\">{dede:field name='typename'/}</h1>\r\n	                	<a  target=\"_blank\" href=\"{dede:field name='typeurl'/}\" class=\"more_1 fr\">更多</a>\r\n	                </div>\r\n	                <div class=\"clearfix con_1\">\r\n	                	<ul>\r\n		                	 	{dede:arclist  titlelen='28' row='20' }\r\n		                	 	  [field:global name='autoindex' runphp='yes']\r\n		                          	if(@me%2 == 0){\r\n		                          	 	@me = '<li class=\"mr55\">';\r\n		                          	} else {\r\n		                          		@me = '<li>';\r\n		                          	}\r\n		                          [/field:global]\r\n		                	 		<a  target=\"_blank\" title=\"[field:title /]\" href=\"[field:arcurl /]\">[field:flag  function=\"qin_isCommendArchives(@me)\" /][field:title /]</a><span>[field:pubdate function=strftime(\"%Y-%m-%d\",@me)/]</span></li>\r\n		                        {/dede:arclist}\r\n	                    </ul>\r\n	                </div>\r\n                ",11921,13030);
$z[28][4]['typeid']="15";
$z[28][4]['row']="20";
$z[29]=Array("channelartlist","\r\n            	<div class=\"clearfix\">\r\n            		<h1 class=\"fl\">购车视频</h1>\r\n                	<a  target=\"_blank\" href=\"./plus/list?tid=16\" class=\"more_1 fr\">更多</a>\r\n                </div>\r\n                <div class=\"clearfix con_2\">\r\n                	<ul>\r\n                	     {dede:arclist  typeid=\"16\" row=4 orderby=pubdate type='image.' imgwidth='143' imgheight='106'}\r\n					        <li><a  target=\"_blank\" href=\"[field:arcurl/]\">[field:image/]<span class=\"title\">[field:title/]</span></a></li>\r\n					      {/dede:arclist}\r\n                    </ul>\r\n                </div>\r\n			   ",13122,13785);
$z[29][4]['typeid']="16";
$z[29][4]['row']="1";
$z[30]=Array("arclist","\r\n				         	<li><a  target=\"_blank\" href=\"[field:arcurl/]\">[field:title/]</a></li>\r\n				         ",14128,14293);
$z[30][4]['typeid']="20";
$z[30][4]['row']="50";
$z[30][4]['orderby']="pubdate";
$z[31]=Array("include","",14473,14519);
$z[31][4]['file']="./liqi/item_footer.htm";
$z[32]=Array("php","\r\n								   // \$arear_arr=array(\"徐汇区\" ,\"长宁区\" ,\"闸北区\" ,\"普陀区\",\"虹口区\",\"闵行区\",\"杨浦区\",\"宝山区\",\"浦东新区\",\"松江区\",\"嘉定区\",\"青浦区\",\"奉贤区\",\"金山区\" );\r\n								   \$arear_arr = array();\r\n								   \$areaSql = \"SELECT * FROM dede_sys_enum t WHERE t.egroup='area'\";\r\n								   \$areaQuery = mysql_query(\$areaSql);\r\n								   while(\$row = mysql_fetch_array(\$areaQuery,MYSQL_ASSOC)) {\r\n										  \$arear_arr[\$row[\"ename\"]] = \$row[\"ename\"];\r\n										  \r\n									}\r\n									\$mysql = \"SELECT t1.id,t1.title,t3.evalue,t3.ename as area,t2.shopName,t2.address,t2.salesHotline,t2.mouthword  FROM dede_archives t1 LEFT JOIN dede_addon4sks t2 ON t1.id = t2.aid left join dede_sys_enum t3 on t2.area = t3.disorder  WHERE t3.egroup='area' and t2.typeid='12'\"; \r\n									\$query = mysql_query(\$mysql); \r\n									\r\n									\$areaEvalue = \"\";\r\n									\$area_index = 0;\r\n									foreach (\$arear_arr as \$value ) {\r\n										\$area_index ++;\r\n									    \$divStr = \"\";\r\n										\$totalCount = 0;\r\n										mysql_data_seek(\$query,0); // 移动指针到数组的开始\r\n										while(\$row = mysql_fetch_array(\$query,MYSQL_ASSOC) ) {\r\n											  if(\$row[\"area\"] == \$value && totalCount < 10) {\r\n											       \$areaEvalue = \$row[\"evalue\"];\r\n												   \$totalCount ++;\r\n												   if(\$totalCount%2==0) {\r\n												     \$divStr .= '<tr style=\"background-color:#c0c0c0\">';\r\n												   } else {\r\n												     \$divStr .= '<tr >';\r\n												   }\r\n												   \r\n												   \$sName = \$row[\"shopName\"];\r\n												   if(strlen(\$sName) > 24) {\r\n													  \$sName =  mb_substr(\$row[\"shopName\"],0,8,'UTF-8').\"...\";\r\n										          }\r\n												  \r\n												   \$sAddress = \$row[\"address\"];\r\n												   if(strlen(\$sAddress) > 24) {\r\n													  \$sAddress =  mb_substr(\$row[\"address\"],0,8,'UTF-8').\"...\";\r\n										          }\r\n												  \r\n												   \$divStr .='	<td > <a title=\"'.\$row[\"shopName\"].'\" target=\"_blank\" href=\"./plus/view.php?aid='.\$row[\"id\"].'\">'.\$sName.'</a></td>\r\n																	<td title=\"'.\$row[\"address\"].'\">'.\$sAddress.'</td>\r\n																	<td>'.\$row[\"salesHotline\"].'</td>\r\n																	<td>'.\$row[\"mouthword\"].'</td>\r\n																	<td></td>\r\n																</tr> ';\r\n											  }\r\n											  \r\n										}\r\n\r\n									    // 输出subDiv\r\n									   echo '<div class=\"h_layer clearfix\" id=\"h_layer_'.\$area_index.'\" >\r\n												<div class=\"h_layer_2\">\r\n													<div class=\"h_layer_3\">\r\n														<div class=\"h_layer_4\">\r\n															<div class=\"h_layer_5\">\r\n																<div class=\"h_layer_6\">\r\n																	<div class=\"h_layer_7\">\r\n																		<div class=\"h_layer_8 clearfix\" id=\"h2_layer_'.\$area_index.'\">\r\n																			<table   width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"table\" id=\"tableId_'.\$area_index.'\" >\r\n																			  <tr>\r\n																				<th>店名</th>\r\n																				<th>销售地址</th>\r\n																				<th>销售热线</th>\r\n																				<th>口碑</th>\r\n																				<th>&nbsp;&nbsp;<a href=\"javascript:void(0)\" onclick=\"hiddenData(\\''.\$area_index.'\\')\" ><img src=\"./images/gb_zqx.gif\"/></a></th>\r\n																			  </tr>\r\n																			  '.\$divStr.'\r\n																			</table>\r\n																			<a target=\"_blank\" href=\"./plus/list.php?channelid=17&tid=12&area='.\$areaEvalue.'&s4jg=0&level=0&s4pp=0\" class=\"more_1 fr\">更多</a>\r\n																		</div>\r\n																	</div>\r\n																</div>\r\n															</div>\r\n														</div>\r\n													</div>\r\n												</div>\r\n											</div> ';\r\n									}	\r\n									mysql_close(\$con);\r\n								 ",14563,18308);

?>